package com.dream.technology.db.dao;

import com.dream.technology.db.entity.RcThirdPartyCommunication;
import com.dream.technology.db.entity.RcThirdPartyCommunicationQuery;
import com.dream.technology.db.entity.RcThirdPartyCommunicationWithBLOBs;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RcThirdPartyCommunicationMapper {
    int countByExample(RcThirdPartyCommunicationQuery example);

    int deleteByExample(RcThirdPartyCommunicationQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(RcThirdPartyCommunicationWithBLOBs record);

    int insertSelective(RcThirdPartyCommunicationWithBLOBs record);

    List<RcThirdPartyCommunicationWithBLOBs> selectByExampleWithBLOBs(RcThirdPartyCommunicationQuery example);

    List<RcThirdPartyCommunication> selectByExample(RcThirdPartyCommunicationQuery example);

    RcThirdPartyCommunicationWithBLOBs selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") RcThirdPartyCommunicationWithBLOBs record, @Param("example") RcThirdPartyCommunicationQuery example);

    int updateByExampleWithBLOBs(@Param("record") RcThirdPartyCommunicationWithBLOBs record, @Param("example") RcThirdPartyCommunicationQuery example);

    int updateByExample(@Param("record") RcThirdPartyCommunication record, @Param("example") RcThirdPartyCommunicationQuery example);

    int updateByPrimaryKeySelective(RcThirdPartyCommunicationWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(RcThirdPartyCommunicationWithBLOBs record);

    int updateByPrimaryKey(RcThirdPartyCommunication record);
}
